/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testy.svn;

/**
 *
 * @author rs24647
 */
public class Kolo extends Figura {

    
    public Kolo (int i){
		promien = i;
    }

    
    @Override
    public double pole() {
        return 3.14*this.promien*this.promien;
    }

    @Override
    public double obwod() {
        return 2*3.14*this.promien;
    }
}
